package com.example.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.domain.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper extends BaseMapper<SysUser>  {

    @InterceptorIgnore(tenantLine = "true")
    List<String> selectRoleByUserId(Long userId);

    @InterceptorIgnore(tenantLine = "true")
    List<String> selectPermsByUserId(Long userId);
}
